package com.icoding.fw.entities;

import java.util.Collection;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = Permission.TABLE)
@AttributeOverride(name = "id", column = @Column(name = Permission.COLUMN_PK))
public class Permission extends BaseDom {
	public static final String TABLE = "permission";
	public static final String COLUMN_PK = "permission_id";

	public static final long serialVersionUID = 0L;

	@Column(name = "permission_desc")
	private String description;

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
